Skip to content

Remove nn package.#107

Merged
benikm91 merged 2 commits into
dimwit-dev:mainfrom
benikm91:remove-nn
May 26, 2026
Merged

Remove nn package.#107
benikm91 merged 2 commits into
dimwit-dev:mainfrom
benikm91:remove-nn

Conversation

@benikm91
Copy link
Copy Markdown
Collaborator

  • Move ActivationFunctions to core
  • Examples are already in deepwit
  • Move optimziers to optimizer package

@marcelluethi Let's see this as a first suggestion on how we could remove the nn package. Please suggest improvements :)

- Move ActivationFunctions to core
- Examples are already in deepwit
- Move optimziers to optimizer package
@benikm91 benikm91 requested a review from marcelluethi May 18, 2026 20:16
Comment thread build.sbt Outdated
)

lazy val nn = (project in file("nn"))
lazy val optimizer = (project in file("optimizer"))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we need to make optimizer a separate module? Why not have it as a core dimwit package similar to how distributions are integrated? We require a separate import but the whenever dimwit is imported as a library optimizers come with it?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. I did the same for the ActivationFunctions. I will make a commit moving optimizers to core.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optimizer moved to core in last commit.

@benikm91 benikm91 marked this pull request as ready for review May 20, 2026 08:29
@benikm91
Copy link
Copy Markdown
Collaborator Author

benikm91 commented May 20, 2026

This PR also removes most of the examples. Do the examples make sense as-is with LR and VAE? Both examples are self-contained, using only dimwit core stuff.

Copy link
Copy Markdown
Contributor

@marcelluethi marcelluethi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@benikm91 benikm91 merged commit dd6ac32 into dimwit-dev:main May 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants